import 'package:flutter/cupertino.dart';

class FFScript {
  static T? children<T>(T? Function() result) {
    return result();
  }
}

T? globalScript<T>(T? Function() result) {
  return result();
}

T globalScript2<T>(T Function() result) {
  return result();
}

///结束键盘输入
globalEndTextField(BuildContext context) {
  FocusScope.of(context).requestFocus(FocusNode());
}
